package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品购物车对象 shopping_cart
 * 
 * @author ruoyi
 * @date 2024-03-22
 */
public class ShoppingCart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customerId;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private String accountNo;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 商品编码 */
    @Excel(name = "商品编码")
    private String sku;

    /** 主数据sku 名称 */
    @Excel(name = "主数据sku 名称")
    private String skuName;

    /** 列表图 */
    @Excel(name = "列表图")
    private String listImg;

    /** 商品类型 1-产品 2-护理 3-券 4-疗程 */
    @Excel(name = "商品类型 1-产品 2-护理 3-券 4-疗程")
    private Integer goodsType;

    /** 购买数量 */
    @Excel(name = "购买数量")
    private Long number;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setAccountNo(String accountNo) 
    {
        this.accountNo = accountNo;
    }

    public String getAccountNo() 
    {
        return accountNo;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSku(String sku) 
    {
        this.sku = sku;
    }

    public String getSku() 
    {
        return sku;
    }
    public void setSkuName(String skuName) 
    {
        this.skuName = skuName;
    }

    public String getSkuName() 
    {
        return skuName;
    }
    public void setListImg(String listImg) 
    {
        this.listImg = listImg;
    }

    public String getListImg() 
    {
        return listImg;
    }
    public void setGoodsType(Integer goodsType) 
    {
        this.goodsType = goodsType;
    }

    public Integer getGoodsType() 
    {
        return goodsType;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsId", getGoodsId())
            .append("customerId", getCustomerId())
            .append("accountNo", getAccountNo())
            .append("title", getTitle())
            .append("sku", getSku())
            .append("skuName", getSkuName())
            .append("listImg", getListImg())
            .append("goodsType", getGoodsType())
            .append("number", getNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
